Campaign Manager - Best Practice Guides
Best Practice Guide - Intra-day updates to a customer attributes tableIntroductionAlterian recognize the need for the campaign system to receive changes to attributes or preferences of known Customers from an external system, and the need for that to occur intra-day to enure those changes can drive personalization or campaign audiences. This Best Practice section will cover two simple use cases of this type and how the Campaign Manager API can be used to achieve this.
Assumptions
Important Considerations
DATA structureAlthough this process can be used to update any table, it is advised that a specific Customer Attribute table be created for this purpose. A Customer table in the existing repository is often the Campaign Key table and as such can come under quite a heavy load, with segmentation, campaign activity and reporting all being run against it in unison. Using a separate Customer Attribute table, linked 1 - 1 to the existing Campaign Key table will avoid adding more concurrent processing to this busy table, and optimize Engines ability to update the values Intra-day.
Use cases
Use Case 1 - Personlization Based on Last Search. A travel company has a weekly email campaign to its Customers. To add incentives based on current areas of interest, sections of the email are focused on holidays based on their last search. The requirement is to capture this value intra-day, rather than part of the standard overnight data load, to ensure it is timely and relevant. The holiday company website is tagged to capture the type of holiday last searched for by a known Customer, and this can be one of 5 values, Adventure, Ski, Beach, Weekend or Cruise. This tagging will create an event to be passed to the Alterian Campaign Manager API. Use Case 2 - Loyalty Competition Sign UP in Journey campaign The travel company has offered existing customers the chance to enter a competition to win a holiday of their choice. This competition entry is done on the website and this adds them to the audience of a campaign that coordinates the communications as part of the journey through the competition. The requirement is for this journey to start on the day of sign up. The website has been tagged to capture details for known Customers and create an event to pass to Alterian Campaign Manager API Other Details
Using the QUEUEENGINETABLEUPSERT API
Use Case 1 - API Configuration using the LIve Example in the API Help, the functionality has been tested .
Example of JSON string passed to the API { "DataSourceId":"101", "FieldNames":["Cust ID","Last Holiday Search"], "KeyFieldName":"Cust ID" "TableNameEx":"[Demo].[Customer Attribute]", "Token":"XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX", "Values":[[13","Ski"]] }
Use Case 1 - API Configuration using the LIve Example in the API Help, the functionality has been tested .
Example of JSON string passed to the API { "DataSourceId":"101", "FieldNames":["Cust ID","Loyalty Comp"], "KeyFieldName":"Cust ID" "TableNameEx":"[Demo].[Customer Attribute]", "Token":"XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX", "Values":[[13","Y"]] }
Although both example above give an update to a single column, multi-column updates are possible using the same API by simply adding to the configuration as follows:
|
![]() |
© Alterian. All Rights Reserved. | Privacy Policy | Legal Notice | ![]() ![]() ![]() |